Method and System for Updating a Medical Device

ABSTRACT

The present disclosure includes methods, devices and systems for establishing a connection between a medical device and a remote computing device, receiving an upgrade command at the medical device, storing a current version of persistent data and a current version of executable code in a first storage area of the medical device, transmitting at least the current version of the persistent data to the remote computing device, receiving a second format of the current version of the persistent data and an upgraded version of executable code at the medical device, storing the second format of the current version of the persistent data and the upgraded version of the executable code in a second storage area of the medical device, and executing the upgraded version of the executable code with the second format of the current version of the persistent data.

RELATED APPLICATIONS

The present application is a continuation of U.S. patent applicationSer. No. 12/794,721 filed Jun. 4, 2010, entitled “Method and System forUpdating a Medical Device”, claims priority under 35 U.S.C. §119(e) toU.S. provisional application No. 61/184,234 filed on Jun. 4, 2009,entitled “Failure Recovery Methods of Corrupted Device Or DuringSoftware Downloads and Preservation of User and Manufacturing Data”, thedisclosures of each of which are incorporated herein by reference intheir entirety for all purposes.

BACKGROUND

In diabetes management, devices are available for diabetic patients tomeasure their blood glucose levels. One such type of device is acontinuous glucose monitoring device that periodically receives andprocesses analyte related data from a transcutaneous sensor. Thereceived and processed data may then be output on a display of thecontinuous blood glucose monitoring device or otherwise provided to thepatient to enable the patient to continuously track measured glucoselevels.

One challenge of currently available continuous glucose monitoringdevices is upgrading software or firmware of the continuous glucosemonitoring devices and the components of the continuous glucosemonitoring devices. Further, if a patient experiences a problem with acontinuous glucose monitoring device, such as, for example, thecontinuous glucose monitoring device ceases to function or data in thecontinuous glucose monitoring device becomes corrupt, the settingsand/or the analyte related data stored on the continuous glucosemonitoring device may be lost. Further, if a patient switches from usingone continuous glucose monitoring device to another continuous glucosemonitoring device, the user may need to manually change factory defaultsettings of the new continuous glucose monitoring device to match thesettings of the old continuous glucose monitoring device, which can be atime consuming process.

SUMMARY

Embodiments described herein include methods and/or systems for updatinga medical device and recovering from a failure to upgrade the medicaldevice. In certain embodiments, a connection is established between amedical device and a remote computing device. An upgrade command isreceived at the medical device and in response to the upgrade commandthe medical device stores a current version of persistent data and acurrent version of executable code in a first storage area of themedical device. The medical device then transmits at least the currentversion of the persistent data to the remote computing device. Theremote computing device is configured to convert the current version ofthe persistent data from a first format to a second format, with thefirst format of the current version of the persistent data correspondingto the current version of executable code and the second format of thecurrent version of the persistent data corresponding to an upgradedversion of executable code. The medical device receives the secondformat of the current version of the persistent data and the upgradedversion of the executable code, stores the second format of the currentversion of the persistent data and the upgraded version of theexecutable code in a second storage area, and executes the upgradedversion of the executable code and the second format of the currentversion of the persistent data in place of the current version of theexecutable code and the first format of the current version of thepersistent data.

These and other objects, features and advantages of the presentdisclosure will become more fully apparent from the following detaileddescription of the embodiments, the appended claims and the accompanyingdrawings.

INCORPORATED BY REFERENCE

The following patents, applications and/or publications are incorporatedherein by reference for all purposes: U.S. Pat. Nos. 4,545,382;4,711,245; 5,262,035; 5,262,305; 5,264,104; 5,320,715; 5,356,786;5,509,410; 5,543,326; 5,593,852; 5,601,435; 5,628,890; 5,820,551;5,822,715; 5,899,855; 5,918,603; 6,071,391; 6,103,033; 6,120,676;6,121,009; 6,134,461; 6,143,164; 6,144,837; 6,161,095; 6,175,752;6,270,455; 6,284,478; 6,299,757; 6,338,790; 6,377,894; 6,461,496;6,503,381; 6,514,460; 6,514,718; 6,540,891; 6,560,471; 6,579,690;6,591,125; 6,592,745; 6,600,997; 6,605,200; 6,605,201; 6,616,819;6,618,934; 6,650,471; 6,654,625; 6,676,816; 6,730,200; 6,736,957;6,746,582; 6,749,740; 6,764,581; 6,773,671; 6,881,551; 6,893,545;6,932,892; 6,932,894; 6,942,518; 7,041,468; 7,167,818; and 7,299,082;U.S. Published Application Nos. 2004/0186365; 2005/0182306;2006/0025662; 2006/0091006; 2007/0056858; 2007/0068807; 2007/0095661;2007/0108048; 2007/0199818; 2007/0227911; 2007/0233013; 2008/0066305;2008/0081977; 2008/0102441; 2008/0148873; 2008/0161666; 2008/0267823;and 2009/0054748; U.S. patent application Ser. Nos. 11/461,725;12/131,012; 12/242,823; 12/363,712; 12/495,709; and 12/698,124; and12/714,439 and U.S. Provisional Application Ser. Nos. 61/184,234;61/230,686; 61/227,967; 61/347,754; and 61/347,813.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a block diagram of a data monitoring and managementsystem according to embodiments of the present disclosure;

FIG. 2 illustrates a block diagram of an upgrade and recovery systemaccording to embodiments of the present disclosure;

FIG. 3 is a flowchart illustrating a method for updating a medicaldevice according to embodiments of the present disclosure;

FIG. 4 is a flowchart illustrating a method for recovering non-userconfigurable data according to embodiments of the present disclosure;

FIG. 5 is a flowchart illustrating a method for transferring userconfigurable data from a first device to a second device according toembodiments of the present disclosure;

FIG. 6 illustrates an exemplary compatibility table according toembodiments of the present disclosure;

FIG. 7 is a flow chart illustrating a method for selectively upgrading adevice based on a compatibility table according to embodiments of thepresent disclosure; and

FIG. 8 is a flow chart illustrating a method for reverting to a previousversion of software for a device according to embodiments of the presentdisclosure.

DETAILED DESCRIPTION

Before the present disclosure is described in additional detail, it isto be understood that this disclosure is not limited to particularembodiments described, as such may, of course, vary. It is also to beunderstood that the terminology used herein is for the purpose ofdescribing particular embodiments only, and is not intended to belimiting, since the scope of the present disclosure will be limited onlyby the appended claims.

Where a range of values is provided, it is understood that eachintervening value, to the tenth of the unit of the lower limit unlessthe context clearly dictates otherwise, between the upper and lowerlimit of that range and any other stated or intervening value in thatstated range, is encompassed within the disclosure. The upper and lowerlimits of these smaller ranges may independently be included in thesmaller ranges also encompassed within the disclosure, subject to anyspecifically excluded limit in the stated range. Where the stated rangeincludes one or both of the limits, ranges excluding either or both ofthose included limits are also included in the disclosure.

Unless defined otherwise, all technical and scientific terms used hereinhave the same meaning as commonly understood by one of ordinary skill inthe art to which this disclosure belongs. Although any methods andmaterials similar or equivalent to those described herein can also beused in the practice or testing of the present disclosure, the preferredmethods and materials are now described. All publications mentionedherein are incorporated herein by reference to disclose and describe themethods and/or materials in connection with which the publications arecited.

It must be noted that as used herein and in the appended claims, thesingular forms “a”, “an”, and “the” include plural referents unless thecontext clearly dictates otherwise.

The publications discussed herein are provided solely for theirdisclosure prior to the filing date of the present application. Nothingherein is to be construed as an admission that the present disclosure isnot entitled to antedate such publication by virtue of prior disclosure.Further, the dates of publication provided may be different from theactual publication dates which may need to be independently confirmed.

As will be apparent to those of skill in the art upon reading thisdisclosure, each of the individual embodiments described and illustratedherein has discrete components and features which may be readilyseparated from or combined with the features of any of the other severalembodiments without departing from the scope or spirit of the presentdisclosure.

The figures shown herein are not necessarily drawn to scale, with somecomponents and features being exaggerated for clarity.

Embodiments described herein relate to upgrading, updating, adding, ormodifying a medical device such as, for example, a continuous glucosemonitoring device, and/or components of an analyte monitoring system. Incertain aspects of the present disclosure, the device is upgraded andprovided with updated software and/or data to assist users in bettermanaging their health. In the manner described, in aspects of thepresent disclosure, patients with Type-1 or Type-2 diabetic conditionsmay improve their diabetes management, and further, the patients, usersor healthcare providers may be provided with tools to improve thetreatment of such conditions.

Software and firmware upgrades and the methods described herein may beused with various components of a data monitoring and management systemsuch as the data monitoring and management system 100 illustrated inFIG. 1. In certain embodiments, the data management and monitoringsystem 100 is an analyte monitoring and management system, such as acontinuous glucose monitoring management system. Although a continuousglucose monitoring system is specifically mentioned, it is contemplatedthat features described herein may also be applicable to other medicalmonitoring devices such as drug or medication delivery devices and thelike.

Referring back to FIG. 1, the analyte monitoring system 100 includes asensor unit 101, a data processing and/or communication unit such as,for example, a transmitter unit 102 coupleable to the sensor unit 101,and a primary receiver unit 104 which is configured to communicate withthe transmitter unit 102 via a bi-directional communication link 103. Incertain embodiments, the communication link 103 may include an RFcommunication protocol, an infrared communication protocol, a Bluetooth®enabled communication protocol, an 802.11x wireless communicationprotocol, or an equivalent wireless communication protocol which wouldallow secure, wireless communication of several units (for example, perHIPAA requirements) while avoiding potential data collision andinterference.

Although not shown, it is contemplated that the sensor unit 101 and thetransmitter unit 102 may be configured as a single integrated unit suchas an on body patch device. In such embodiments, the integrated unit maywirelessly communicate with other components of the system 100 such asdescribed herein.

The primary receiver unit 104 may be further configured to transmit datato a data processing terminal 105 for evaluating the data received bythe primary receiver unit 104. Moreover, the data processing terminal105 in one embodiment may be configured to receive data directly fromthe transmitter unit 102 via a communication link which may optionallybe configured for bi-directional communication. Accordingly, transmitterunit 102 and/or receiver unit 104 may include a transceiver.

Also shown in FIG. 1 is an optional secondary receiver unit 106 which isoperatively coupled to the communication link and configured to receivedata transmitted from the transmitter unit 102. Moreover, as shown inthe Figure, the secondary receiver unit 106 is configured to communicatewith the primary receiver unit 104 as well as the data processingterminal 105. Indeed, the secondary receiver unit 106 may be configuredfor bi-directional wireless communication with each or one of thetransmitter unit 102, the primary receiver unit 104 and the dataprocessing terminal 105. In one embodiment of the present disclosure,the secondary receiver unit 106 may be configured to include a limitednumber of functions and features as compared with the primary receiverunit 104. As such, the secondary receiver unit 106 may be configuredsubstantially in a smaller compact housing or embodied in a device suchas a wrist watch, pager, mobile phone, PDA, for example. In certainembodiments, the secondary receiver unit 106 may be configured with thesame or substantially similar functionality as the primary receiver unit104. Each receiver unit may be configured to be used in conjunction witha docking cradle unit, for example for one or more of the following orother functions: placement by bedside, for re-charging, for datamanagement, for night time monitoring, and/or bidirectionalcommunication device.

In one aspect, sensor unit 101 may include two or more sensors, eachconfigured to communicate with transmitter unit 102. Furthermore, whileonly one transmitter unit 102, communication link 103, and dataprocessing terminal 105 are shown in the embodiment of the monitoringsystem 100 illustrated in FIG. 1, it will be appreciated by one ofordinary skill in the art that the analyte monitoring system 100 mayinclude one or more sensors, multiple transmitter units 102,communication links 103, and data processing terminals 105. Moreover,within the scope of the present disclosure, the analyte monitoringsystem 100 may be a continuous monitoring system, or semi-continuous, ora discrete monitoring system. In a multi-component environment, eachdevice is configured to be uniquely identified by each of the otherdevices in the system so that communication conflict is readily resolvedbetween the various components within the analyte monitoring system 100.

In one embodiment of the present disclosure, the sensor unit 101 isphysically positioned in or on the body of a user whose analyte level isbeing monitored. The sensor unit 101 may be configured to continuouslysample the analyte level of the user and convert the sampled analytelevel into a corresponding data signal for transmission by thetransmitter unit 102. In certain embodiments, the transmitter unit 102may be physically coupled to the sensor unit 101 so that both devicesare integrated in a single housing and positioned on the user's body.The transmitter unit 102 may perform data processing such as filteringand encoding on data signals and/or other functions, each of whichcorresponds to a sampled analyte level of the user, and in any eventtransmitter unit 102 transmits analyte information to the primaryreceiver unit 104 via the communication link 103. Additional detaileddescription of the continuous analyte monitoring system and its variouscomponents are provided in but not limited to: U.S. Pat. Nos. 6,134,461,6,175,752, 6,121,611, 6,560,471, 6,746,582, and U.S. Patent PublicationNo. 2008/0278332 filed May 8, 2008 and elsewhere, the disclosure of eachof which are incorporated by reference for all purposes.

FIG. 2 illustrates a block diagram of an upgrade and recovery system 200according to embodiments of the present disclosure. In certainembodiments, the upgrade and recovery system 200 includes, but is notlimited to, a device 201, a computing device 202, and a server 203. Aswill be appreciated by one of ordinary skill in the art, the upgraderecovery system 200 may be used with the various components of the datamonitoring and management system 100 (FIG. 1). As such, as used herein,the term device, such as device 201 for example, may refer to a medicaldevice, the transmitter unit 102, the primary receiver unit 104, and/orthe secondary receiver unit 106.

In certain embodiments, the device 201 includes a plurality ofmicroprocessors. Non-limiting examples include an ARM9 microprocessor, aMSP430 microprocessor, and a CC2510 microprocessor. In one aspect, atleast one microprocessor of the device 201, such as, for example, anARM9 microprocessor, is configured to handle user interfacefunctionalities of the device 201, store persistent data (e.g.manufacturing setting and user-configurable settings) corresponding tothe device 201, and store and manage the software and software upgradesfor the other microprocessors (e.g., the MSP430 microprocessor and theCC2510 microprocessor) of the device 201. For example, when softwarecorresponding to the MSP430 microprocessor is upgraded, the upgradedversion of the software for the MSP430 microprocessor is stored in theARM9 microprocessor. Thus, when the device 201 boots, a bootloader ofthe ARM9 microprocessor loads the software for the ARM9 microprocessor,the software for the CC2510 microprocessor and the upgraded version ofthe software for the MSP430 microprocessor.

In certain embodiments, a second microprocessor of the device 201, suchas, for example, a MSP430 microprocessor, is configured to processglucose readings from a test strip inserted into the device 201 and/ormanage continuous glucose data received from a sensor, such as, forexample sensor unit 101 (FIG. 1). In another embodiment, a thirdmicroprocessor of the device, such as, for example a CC2510microprocessor, is configured to interface with various peripheraldevices, such as, for example, a wireless pump. Thus, using the thirdmicroprocessor of the device 201 a user may control the peripheraldevice directly from the device 201. Although specific microprocessorshave been discussed, it is contemplated that various othermicroprocessors may be used by the device 201.

In certain embodiments, the computing device 202 may be a user'spersonal computer or laptop. The computing device 202 may also be apersonal digital assistant, smart phone, tablet computer or otherportable computing device that may receive data from the device 201 ortransfer data to the device 201. The computing device 202 may beconfigured to store and/or further analyze data, such as, for example,blood glucose data and/or continuously monitored glucose data from thedevice 201 that was transferred to the computing device 202 via awireless or wired connection. In certain embodiments, a web-basedapplication or other client application may be stored in a memory of thecomputing device 202 and may be executed by one or more processors ofthe computing device 202. Such applications may enable a user to viewanalyte related data on the computing device 202 as well as viewing anddownloading available software and firmware upgrades for the device 201.

In certain embodiments, server 203 is configured to provide upgrades forthe device 201 and/or the computing device 202. The upgrades for thedevice 201 and the computing device 202 include software upgrades, dataupgrades, and firmware upgrades. The server 203 is further configured tostore and/or analyze and process data obtained from device 201 andcomputing device 202 and transmit the received data to another computingdevice (not shown) such as, for example, a computing device of ahealthcare provider.

In certain embodiments, the server 203 includes a database or other suchdata structure that stores serial numbers corresponding to a pluralityof devices. The database also stores a compatibility table thatcorresponds to each device. As will be explained in greater detailbelow, the compatibility table associated with each device is used tostore and track versions of software and firmware that have beendownloaded and installed on the device 201 as well as user-configurabledata associated with each version of software installed on the device201. In one aspect, the compatibility table also stores informationcorresponding to the hardware versions of each of the microprocessors ofthe device 201 as well as software/firmware versions for each of themicroprocessors of the device 201.

Referring back to FIG. 2, in certain embodiments, communication links210, 220, and 230 connect the device 201 and computing device 202; thedevice 201 and the server 203; and the computing device 202 and theserver 203. The communication links 210, 220, and 230 may include one ormore of an RF communication protocol, an infrared communicationprotocol, a Bluetooth® enabled communication protocol, an 802.11×wireless communication protocol, a Zigbee communication protocol, andthe like.

One or more components of the upgrade and recovery system 200 mayfunction to perform various and multiple upgrade and recovery operationsrelated to software and data upgrades, data recovery, and/or datapreservation. In certain embodiments, the upgrade and recovery system200 may perform one or more routines for downloading data to a device,such as device 201 as described below in conjunction with the method 300of FIG. 3.

Referring to FIG. 3, communication between a device, such as device 201(FIG. 2), and at least one remote computing device, such as computingdevice 202 or server 203, is established (301). In certain embodiments,communication between the device 201 and the remote computing device isestablished through communication links 210 or 220. In one aspect, thecommunication between the device 201 and the remote computing device isestablished using a wireless connection. In another aspect, thecommunication between the device 201 and the remote computing device isestablished using a wired connection such as, for example, by connectingthe device 201 to the remote computing device using a USB cable.

In certain embodiments, the device 201 includes a first memory forstoring instructions for execution by the one or more microprocessors ofthe device 201 to upgrade, for example, software algorithms, computerexecutable routines and/or any other types of executable code stored onthe device 201. The executable code may be written in one or moremachine readable languages for retrieval and execution by one or moremicroprocessor driven or microprocessor controlled components of thedevice 201. For example, the upgrades may correspond to upgrades for anoperating system being executed on the device 201, an application (e.g.,bolus calculator application) being executed on the device 201 thatenhances the functionality of the device 201, an application programminginterface (API) (e.g., applications for communicating with and/orcontrolling peripheral devices that have been connected to the device201) being executed on the device 201, and the like. Further, in certainembodiments, the instructions for execution by the one or moremicroprocessors of the device 201 are configured to verify the integrityof the upgraded version of the software algorithms, computer executableroutines and/or the other executable code for the device 201. In anotherembodiment, the instructions for execution by the one or moremicroprocessors of the device 201 are configured to verify the integrityof user-configurable data and manufacturing data that will be used bythe upgraded version of the software algorithms, computer executableroutines and/or other executable code for the device 201. In certainembodiments, the user-configurable data corresponds to user settings ofthe device 201 such as, for example, glucose threshold values, alarmsettings, reminder settings, and language settings. In certainembodiments, the manufacturing data may include data that is used toidentify the device 201 such as, for example, a serial number of thedevice 201. Additionally, the manufacturing data may also includedefault settings for the device 201 (e.g. unit of measure, an analog todigital converter (ADC) count etc.) and/or a current version of softwarethat is being executed by the device 201.

The device 201 further includes a second memory with a plurality ofsegregated areas for storage of various types data (e.g.,user-configurable data and upgraded versions of the user-configurabledata) or upgraded versions of the software for the device 201. Incertain embodiments, the first and/or second memory is random accessmemory. In another embodiment, the first memory is volatile memory. Inyet another embodiment, the second memory is non-volatile memory, whichmay be flash memory. In certain embodiments, the first memory and thesecond memory are non-volatile or flash memory.

In certain embodiments, software that is executed by a microprocessor ofthe device 201 (e.g., a current version of the software or a currentversion of executable code), as well as the user-configurable andmanufacturing data utilized by the software that is executed by themicroprocessor of the device 201, is stored in a first storage area ofthe second memory of the device 201. For example, the software that isexecuted by a microprocessor of the device 201 may be an operatingsystem of the device 201, an application utilized by the operatingsystem to enhance the functionality of the device 201, or an applicationprogramming interface of the device 201. In one aspect, theuser-configurable data and the manufacturing data is stored in a memoryof the device 201 so that the user-configurable data and themanufacturing data may be used to restore the settings of the device 201should any problems occur with the device 201, such as, for example, thedevice 201 becoming disconnected from the server 203 or the computingdevice 202 during the upgrade process, by upgrade not being fullyinstalled on the device 201, or if the upgrade installed on the device201 is corrupt or is not compatible with the device 201. If a problemoccurs when upgrading the device 201, the user-configurable data andmanufacturing data may be used to restore the stored settings of thedevice 201.

Referring still to FIG. 3, in certain embodiments, the device 201 (FIG.2) receives a command from a remote computing device regarding thedownload of an upgrade that is to be processed at the device 201 (302).In certain embodiments, the upgrade for the device 201 may be an upgradeto software currently being executed on the device 201, a newapplication programming interface (API) for the device 201, an upgradeto firmware for the device 201, or a new software application for thedevice 201. In certain embodiments, the upgrade command is initiated bythe remote computing device and communicated by the remote computingdevice, such as, for example, the computing device 202, to the device201. In certain embodiments, a microprocessor of the device 201automatically initiates installation or downloading of the upgradedirectly from the remote computing device when the command is receivedfrom the remote computing device. In another embodiment, the download ofthe upgrade for the device 201 will not be initiated until a userconfirms that the available upgrade for the device 201 is desired.

When the download of the upgrade is initiated, the existinguser-configurable data and manufacturing data (e.g., persistent data)utilized by the version of the software being executed by the device 201(e.g., the user-configurable data and manufacturing data stored in thefirst memory area of the second memory of the device 201) is packed andcopied along with the version of the software being executed on thedevice 201, to a second storage area of the second memory of the device201 (303). In certain embodiments, the persistent data is packed orcompressed using an encoding scheme (e.g., lossy or lossless encodingscheme) so that the persistent data may be represented using fewer bitsthan if the persistent data was not packed or compressed. Because thedata is compressed, memory space of the device 201 may be conserved.Further, because the packed persistent data (e.g., user-configurabledata and manufacturing data) is represented by a fewer number of bits,bandwidth requirements for transferring the packed persistent data fromthe device 201 to the remote computing device may also be reduced (e.g.,the amount of bandwidth required to transmit the packed persistent datais less than the amount of bandwidth required to transmit persistentdata that has not been packed). Once the persistent data is packed, thepersistent data may then be uploaded to the remote computing device,such as, for example a computing device 202 executing a software upgrademodule. The persistent data may then be uploaded from the computingdevice 202 to the server 203. In one aspect, the packed persistent datamay be uploaded directly from the device 201 to the server 203.

Once the packed persistent data has been uploaded to the server 203, theserver 203 unpacks the persistent data and converts the persistent datato a new version of persistent data that can be utilized by the upgradedversion of the software for the device 201 that is to be downloaded tothe device 201 during the upgrade process. Once the persistent data hasbeen converted by the server 203, the new version of persistent data ispacked (e.g. compressed) by the server 203 and downloaded to the device201, along with the upgraded version of the software, and is stored inthe first memory of the device 201 (304).

In certain embodiments, when the conversion of the persistent data isperformed by the server 203, the persistent data is mapped to a newversion of persistent data so that the settings utilized by the user inthe previous software version (e.g., the version of the software thatwas executed on the device 201 prior to the upgrade) are maintained bythe upgraded version of the software that is to be installed on thedevice 201. Mapping of the persistent data will be described in moredetail below with respect to FIG. 5.

In certain embodiments, the server 203 performs the upload, conversion,and download through client software being executed on the server 203.In another embodiment, the upload, conversion and download of thepersistent data and upgraded version of the software for the device 201is performed through an upgrade module being executed on an interveningdevice, such as, for example, the computing device 202. In anotherembodiment, the conversion may be performed directly on the device 201.

Once the new version of the persistent data and the upgraded version ofthe software have been downloaded to the device 201 and stored in thefirst memory of the device 201, the integrity of the new version of thepersistent data as well as the integrity of the upgraded version of thesoftware for the device 201, is verified (305). In certain embodiments,verification of the new version of the persistent data and verificationof the upgraded version of the software for the device 201 includesconfirmation that the new version of the persistent data and theupgraded version of the software for the device 201 are not corrupt(e.g., no errors occurred in the transmission of the new version of thepersistent data or the upgraded version of the software for the device201 from the server to the second device) or that the new version of thepersistent data and the upgraded version of the software may be used bythe device 201. In certain embodiments, the integrity verification isperformed by cyclic redundancy check (CRC). Thus, as the data is sentfrom the server 203 to the device 201, a CRC code is generated for eachblock of data. The CRC code is sent with each block of data and receivedby the device 201. When the block of data is received and/or read by amicroprocessor of the device 201, the device 201 generates a CRC codefor each received block of data and compares the generated CRC code withthe received CRC code. If the CRC codes match, the data is verified. Ifhowever, the CRC codes do not match, a data error is detected. Althougha cyclic redundancy check is specifically mentioned, it is contemplatedthat other error detection methods may be used including using paritybits, checksums, cryptographic hash functions and the like.

If the verification of the new version of the persistent data and theupgraded version of the software is satisfactory (e.g., no errors weredetected by the cyclic redundancy check), the new version of thepersistent data and the upgraded version of the software for the device201 are copied from the first memory of the device 201 to a thirdstorage area of the second memory of the device 201 (306).

In certain embodiments, if the new version of the persistent data andthe upgraded version of the software for the device 201 are not verifiedby the cyclic redundancy check (e.g., the data is corrupt) (305) themethod 300 ends and the user is notified that the upgrade was notcompleted. In certain embodiments, the user may be notified by a displayscreen output on a display of the device 201 that the upgrade to thesoftware of the device 201 was not successful. Such errors may be causedby the device 201 becoming disconnected from the remote computing deviceor by a data transmission error (e.g. dropped data packets) between theserver 203 and the device 201. In certain embodiments, if the newversion of the persistent data and the upgraded version of the softwarefor the device 201 is not verified, the new version of the persistentdata and the upgraded version of the software for the device 201 isneither stored in the first memory of the device 201 or the secondmemory of the device 201.

In certain embodiments, if the integrity of the new version of thepersistent data and the upgraded version of the software for the device201 is not verified (305) the new version of persistent data, along withthe upgraded version of the software for the device is downloaded fromthe server 203 to the device 201 a second time and stored in the firstmemory of the device 201 (304). In one aspect, if one portion of thedata is verified, but another portion of the data is not verified, theunverified portion of the data is downloaded from the server 203 asecond time while the verified portion of the data from the firstdownload is stored in the first memory of the device 201.

For example, if the new version of the persistent data is verified bythe cyclic redundancy check but the upgraded version of the software forthe device 201 is not verified by the cyclic redundancy check, only theupgraded version of the software for the device 201 is downloaded asecond time. Once the upgraded version of the software for the device201 has been downloaded the second time, the integrity of the upgradedversion of the software for the device 201 is verified (305). When boththe new version of the persistent data and the upgraded version of thesoftware for the device 201 have been verified, the new version of thepersistent data and the upgraded version of the software for the device201 are copied from the first memory of the device 201 to a thirdstorage area of the second memory of the device 201 (306).

When the new version of the persistent data and the upgraded version ofthe software for the device 201 have been copied from the first memoryof the device 201 to the third storage area of the second memory of thedevice 201, in certain embodiments, a microprocessor of the device 201initiates a reset command to reset the device 201. Once the reset iscomplete, the microprocessor of the device 201 attempts to execute theupgraded version of the software for the device 201 and utilize the newversion of the persistent data (307). As the microprocessor of thedevice 201 is executing the upgraded version of the software for thedevice 201 and utilizing the new version of the persistent data, thepacked new version of the persistent data and the upgraded version ofthe software for the device 201 that is stored in the third storage areaof the second memory of the device 201 is unpacked and stored in thefirst storage area of the second memory of the device 201 (308). Incertain embodiments, the new version of the persistent data and/orupgraded version of the software for the device 201 is unpacked ordecompressed such that the data is reconstructed in a form, or in asubstantially similar form, as it was prior to the data being packed orcompressed. For example, if a language setting of the persistent datawas represented by 4 bits prior to being compressed, and was representedby 2 bits after being compressed, when the persistent data issubsequently decompressed, the language setting of the persistent datais once again represented by 4 bits.

If a failure occurs while copying the new version of the persistent dataand the upgraded version of the software for the device 201 from thethird storage area of the second memory to the first storage area of thesecond memory, the copying process stops and the microprocessor of thedevice 201 initiates a reset command. When the device 201 recovers fromthe reset, a bootloader of the device 201 loads the persistent data andthe version of the software (e.g., the version of the software of thedevice 201 prior to the upgraded version of the software for the device201) that is stored in the second storage area of the second memory ofthe device 201 (309) and the microprocessor of the device executes theloaded version of the software. When the device 201 boots executing thesoftware version that was stored on the second storage area of thesecond memory of the device 201, the microprocessor of the device 201re-initiates the upgrade process. In one aspect, when the device 201boots executing the software version that was stored on the secondstorage area of the second memory of the device 201, the user may beprompted, via a display screen on the device 201, to re-initiateinstallation of the upgraded version of the software for the device 201.

In certain embodiments, upon successful installation of the upgradedversion of the software for the device 201, the new version of thepersistent data and the upgraded version of the software for the device201 are copied from the third storage area of the second memory of thedevice 201 to the second storage area of the second memory of the device201. Thus, the device 201 will have a backup copy of the upgradedversion of the software for the device 201 and a copy of the new versionof the persistent data stored in memory should the device 201 need torecover from a system failure.

In other embodiments, the new version of the persistent data and theupgraded version of the software for the device 201 may be copied fromthe first memory of the device 201 directly to the first storage area ofthe second memory of the device 201. The new version of the persistentdata and the upgraded version of the software for the device 201 isexecuted and installed on the device 201 and upon successfulinstallation, the new version of the persistent data and the upgradedversion of the software for the device 201 may be copied to the secondstorage area of the second memory of the device 201 to serve as a backupcopy of the upgraded version of the software for the device 201 and thenew version of the persistent data.

In some embodiments of the present disclosure, method 300 may be appliedas an upgrade method for various types of upgrades including, but notlimited to, firmware upgrades, software patches, protocol updates, andany other executable code upgrades, patches or new versions.

In certain embodiments, the upgraded version of the software for thedevice 201 may correspond to a critical update for the device 201. Inone aspect, if the critical update is not installed on the device 201,the device 201 may not function properly. For example, the criticalupdate may correspond to a bolus calculation function or bolus deliveryfunction of peripheral pump connected to the device 201. If the criticalupdate is not installed on the device 201, an incorrect bolus dosage maybe calculated and/or the pump may not deliver the expected amount ofinsulin based on the calculation.

In certain aspects, if a failure occurs during the installation of thecritical update on the device 201, the microprocessor of the device 201initiates a reset command and the device 201 resets. When the device 201recovers from the reset, the microprocessor of the device 201 may causethe download and/or installation of the critical update to automaticallyrestart. In certain embodiments, when the device 201 recovers from thereset, the user of the device 201 may be prompted to reinitiate thedownload and/or installation of the critical update. The prompt may be amessage screen output on a display of the device 201, an audible alert,a tactile alert or a combination thereof.

In certain embodiments, when the device 201 recovers from the reset, thebootloader of the device 201 loads the persistent data and the versionof the software (e.g., the version of the software of the device 201prior to the upgraded version of the software for the device 201) thatis stored in the second storage area of the second memory of the device201 as was described above. However, in one aspect, the functionality orfeature of the device 201 that corresponds to the critical update willnot be accessible by the user until the critical update is installed.For example, if the critical update corresponds to a bolus calculationfunction, the user may not use the bolus calculation function until thecritical update corresponding to the bolus calculation function isinstalled on the device 201. Although the particular functionality ofthe device 201 corresponding to the critical update is not operational,other features and functionalities of the device 201 are not affected.For example, although a bolus calculation function is not accessible bythe user, a test strip port and blood glucose calculation function maybe operational on the device 201.

It is also contemplated that although the critical update may correspondto a particular feature of the device 201, all functionalities andfeatures of the device 201 may be non-functional until the criticalupdate is installed on the device 201. In such cases, a message or alertscreen may be output on the display of the device 201 indicating thatall features and functionalities of the device 201 are non-functionaland will remain non-functional until the critical update has beeninstalled on the device 201. The user may then be prompted to reinitiatethe download and/or installation of the critical update.

In yet another aspect, the functionality of the device 201 thatcorresponds to the critical update may have limited operationalcapabilities for a predetermined amount of time. For example, if thecritical update corresponds to medication delivery of a peripheral pump,the microprocessor of the device 201 may instruct the peripheral pump todeliver a predetermined amount of insulin for the predetermined amountof time. When the predetermined amount of time expires, the user may beprompted to re-initiate the download and/or installation of the criticalupdate.

FIG. 4 is a flow chart illustrating a method 400 for use in one or moreembodiments of the present disclosure, for recovering non-userconfigurable data (e.g., manufacturing data) used by a device, such as,for example device 201 (FIG. 2), in which the non-user configurable datahas been corrupted or is no longer stored on the device 201. Referringto FIG. 4, the non-user configurable data, which is specific to thedevice 201, is stored in a database on a remote computing device, suchas, for example, a server 203, a data storage terminal, or othercomputing device, such as, for example, computing device 202 (401). Incertain embodiments, the non-user configurable data may be uploaded andstored on the remote computing device at predetermined times (e.g.,every 3 months) or each time the device 201 is connected either directlyor indirectly to the remote computing device. In another embodiment, thenon-user configurable data is uploaded and stored on the remotecomputing device prior to a user initiated software upgrade. Asdiscussed above, the non-user configurable data is associated with aserial number that identifies the device 201, a version of softwarebeing executed on the device 201 and/or default settings of the device201.

Still referring to FIG. 4, electronic communication between the remotecomputing device and the device 201 is established (402) and the serialnumber for the device 201 is transmitted to the remote computing device(403). Such transmission may be initiated by a user of the device 201upon experiencing, for example, a malfunction or problem with the device201. In certain embodiments, the user provides the serial number througha user interface of the device 201 or through a user interface on acomputing device that is in communication with the device 201. Incertain embodiments, the microprocessor of the device 201 causes theserial number of the device 201 to be automatically transmitted to theremote computing device when a connection between the device 201 and theremote computing device is established. Further, the microprocessor ofthe device 201 may be configured to transmit the serial number to theremote computing device when a connection between the remote computingdevice and the device 201 is established if various performanceindicators (e.g., a failure or partial failure of the device 201 orcomponents of the device 201) are detected by the microprocessor of thedevice 201.

Upon receipt of the serial number, remote computing device transmits thestored non-user configurable data to the device 201 (404). As will bedescribed in detail below, the non-user configurable data may be storedin a compatibility table, such as, for example compatibility table 600(FIG. 6). The transmission of the non-user configurable data from theremote computing device to the device 201 may be automatically performedin response to the receipt of the serial number, as receipt of theserial number at the remote computing device, for example, may indicatethat the device 201 experienced a malfunction and requires the non-userconfigurable data to restore functionality of the device 201. In certainembodiments, transmission of the stored non-user configurable data maybe transmitted from the remote computing device when the serial numberis received in conjunction with a request from the user to transmit thenon-user configurable data from the server 203 to the device 201.

In certain embodiments, the non-user configurable data may identify thedevice 201 and include default settings for the device 201 or thesettings for the device 201 based on the version of the software thatwas last installed on the device 201. When the non-user configurabledata for the identified device 201 has been transmitted to the device201, the device 201 may use the non-user configurable data to restorethe device settings of the device 201 to the settings that were usedprior to the operational problems of the device 201. In certainembodiments, when the non-user configurable data is transmitted to thedevice 201 from the remote computing device, the non-user configurabledata is stored in a memory of the device 201.

FIG. 5 illustrates a method 500 for transferring user-configurable datafrom a first device to a second device according to embodiments of thepresent disclosure. The method 500 described herein may be used when thefirst device ceases to function or when use of another device is desired(e.g., when a physician prescribes use of a different device). Incertain embodiments, the method 500 may be used to transfer data fromthe first device to the second device even if the devices are notrelated or have different functionality. For example, if the user isswitching from a blood glucose monitoring device to a continuous glucosemonitoring device, various settings from the blood glucose monitoringdevice may be transferred to the continuous glucose monitoring device.In another embodiment, the method 500 may be used to ensure thatsettings corresponding to user-configurable data and manufacturing dataremain constant between various versions of software being executed onthe device 201.

Referring to FIG. 5, electronic communication is established between thefirst device such as, for example, device 201 (FIG. 2) and a remotecomputing device (501). In certain embodiments, the connection may be awired or wireless connection such as described above. In certainembodiments, when the communication link is established between thefirst device and the remote computing device, the first device maytransmit an identifier, such as, for example, a serial number, to theremote computing device to identify the type of the first device, amanufacturer of the first device and/or a current software version beingexecuted on the first device. In certain embodiments, a compatibilitytable, such as, for example compatibility table 600 (FIG. 6) may be usedto identify the type of the first device, the manufacturer of the firstdevice, and/or the software version being executed on the first device.In certain embodiments, a microprocessor of the first device causes thisdata to be sent automatically when the communication link between thefirst device and the remote computing device is established or inresponse to a request from the remote computing device.

When the first device has been identified, user-configurable data ispacked (e.g. compressed) and uploaded from the first device to theremote computing device (502). In certain embodiments, the remotecomputing device is a server, such as, for example, server 203 (FIG. 2).In another embodiment, the remote computing device may be a personalcomputer, laptop, personal digital assistant, smart phone, tabletcomputer, or other such computing device.

In certain embodiments, the user-configurable data is uploaded from thefirst device to the remote computing device based on theuser-configurable data that was most recently uploaded. For example, ifsome of the user-configurable data to be uploaded was recently uploadedto the server 203 (e.g. within a predetermined number of days in thepast) and the user-configurable data has not been changed (e.g., thelanguage setting of the first device has not been changed by the user),the user-configurable data is not uploaded again as it is duplicatedata. In certain embodiments, if some of the data to be uploaded wasreceived and/or stored on the first device prior to a threshold timelimit (e.g., 6 months in the past) the data is not uploaded to theremote computing device.

Still referring to FIG. 5, once the user-configurable data from thefirst device has been uploaded to the remote computing device,electronic communication is established between the second device andthe remote computing device (503). As discussed above, the electroniccommunication may be a wired or wireless connection. Further, theestablished communication between the second device and the remoteserver need not be direct but may be routed through other servers and/orvarious other devices. In certain embodiments, when a connection isestablished between the second device and the remote computing device,the second device may send either automatically, or in response to arequest from the remote computing device, an identifier that may be usedto identify the device and/or a current software version running on thedevice such as was described above.

When the second device has been identified (e.g. by a serial number ofthe second device), the data that was uploaded from the first device isconverted for use on the second device (504). In certain embodiments,the user-configurable data is mapped by the remote computing device foruse with the second device. Although a second device is specificallymentioned, it is contemplated that the data mapping described herein mayalso be used to map user-configurable data as well as non-userconfigurable data from a device that is transitioning from a firstsoftware version to a second software version.

In certain embodiments, the remote computing device maps theuser-configurable data by changing the format of the user-configurabledata from a first format that is compatible with the first device to asecond format that is compatible with the second device, or from aformat that is compatible with one software version to a second softwareversion that is to be executed on the first device. For example, theuser configurable data from the first device may correspond to thresholdvalues, alarm settings, reminder settings, and language settings. Thelength of the data corresponding to the threshold values may be 2 bits,the length of the data corresponding to the alarm settings may be 2bits, the length of the data corresponding to the reminder settings maybe 4 bits and the length of the data corresponding to the languagesettings may be 4 bits.

As the data is mapped from the first device to the second device, thelength of the data for each data element of the user-configurable datalisted above may be changed by the remote computing device so theuser-configurable data is compatible with the second device. Continuingwith the above example, the length of the data for the threshold valuesmay be changed to 4 bits, the length of the data for the alarm settingsmay remain at 2 bits, the length of the data for the reminder settingsmay be 6 bits, and the length of the data for the language settings maybe 2 bits. Although the length of data element of the user-configurabledata has been changed to be compatible with the second device, theactual setting represented by the data element remains unchanged. Forexample, if the language setting of the first device (represented by 4bits) is English, when the length of the data corresponding to thelanguage setting is changed from the first format (e.g., 4 bits inlength) to the second format (e.g., 2 bits in length) the languagesetting represented by the second format is English.

If some of the user-configurable data from the first device is not usedin the second device, the remote computing device disregards thatparticular data element of the user-configurable data. For example, ifthe first device has a data element corresponding to units of measure,and the second device does not have an equivalent setting, the dataelement of the user-configurable data corresponding to units of measureis disregarded during the mapping process.

Further, the second device may have user-configurable data correspondingto settings that were not supported by the first device. Thus, when theremote computing device maps the user-configurable data from the firstdevice to the second device, the particular setting corresponding to thedata element that is not supported by the first device will not havemapped user-configurable data. In such cases, the setting that does nothave a corresponding data element is set as the factory default setting.The factory default setting may then be changed by the user. Forexample, the second device may have a unit of measure setting thatallows the user to change the unit of measure from mg/dL to mMol/L whilethe first device did not have this setting. Thus, when user-configurabledata is mapped, there is no data that corresponds to the unit of measuresetting. As a result, the unit of measure setting will be set to defaultsetting (e.g., mg/dL).

When the user-configurable data has been converted from the first formatto the second format, the converted user-configurable data is downloadedand stored on the second device (505).

In certain embodiments, the converted user-configurable data is packedprior to being downloaded and stored on the second device and is storedin a first memory of the second device. In certain embodiments, thedownload operation may be performed by a software upgrade tool runningon a computing device connected to the second device. In anotherembodiment, the remote computing device performs the download throughclient software running on a computing device that connects to thesecond device. In yet another embodiment, the software upgrade tool maybe incorporated directly into the second device.

Referring back to FIG. 5, once the converted user-configurable data hasbeen stored on the second device, the integrity of the converteduser-configurable data is verified (506). The verification may be usedto confirm that the converted user-configurable data is not corruptand/or that if the user-configurable data was converted, the converteduser-configurable data may be used by the second device. In certainembodiments, the verification is performed by cyclic redundancy check(CRC) such as described above. In another embodiment, the verificationis performed by other error detection methods such as, for example,parity bits, checksums, cryptographic hash functions and the like.

In certain embodiments, when the converted user-configurable data storedon second device has been verified, the converted user-configurable datais copied from the first memory of the second device to a second memoryof the second device (507). In certain embodiments, the first and/orsecond memory of the second device is random access memory. In anotherembodiment, the first memory of the second device is volatile memory andthe second memory of the second device is non-volatile memory, which maybe flash memory. In certain embodiments, the first memory and the secondmemory of the second device are non-volatile or flash memory.

In certain embodiments, the remote computing device may direct acomputing device connected to the second device to perform the copyingoperation through client software running on the connected computingdevice. In other embodiments, the data copying may be performed on thesecond device itself without the need for further instructions fromanother computing device. When the converted user-configurable data hasbeen copied to the second memory of the second device, the settings ofthe second device are based on the converted user-configurable data.Thus, when a user transitions from the first device to the seconddevice, the user may immediately use the second device without having tomanually adjust all of the settings in the second device. In certainembodiments, the second device continues to operate based on itspreviously-stored user-configurable data until furtheroperations/instructions are performed in which the converteduser-configurable data is needed by the second device.

Referring back to FIG. 5, if the converted user-configurable data is notverified (506), the user-configurable data that was uploaded from thefirst device is remapped for use with the second device (504). Incertain embodiments, the remote computing device tracks the mapping ofthe user-configurable data and only remaps the user-configurable datathat was not verified by the cyclic redundancy check. For example, ifdata corresponding to the language setting was correctly mapped but datacorresponding to the threshold values was not correctly mapped, theserver remaps the data corresponding to the threshold values. Once theuser-configurable data has been mapped, the converted user-configurabledata is downloaded to the first memory of the second device (505). Thenewly downloaded converted user-configurable data is then verified (506)and stored in the second memory of the second device if the converteduser-configurable data is verified (507).

Although data mapping has been specifically described for mappinguser-configurable data from a first device to a second device, it iscontemplated that data mapping may be used to preserve user-configurabledata from a first version of software being executed on the first deviceto a second version of the software (e.g. software upgrade) that isdownloaded and installed on the first device.

According to the above-described embodiments, a user is advantageouslyable to recover device functionality from a remote computing devicerather than replacing the device and/or manually inputting each usersetting into the device. Further, the recovery may conveniently be donefrom the user's home or other preferred location. Moreover, recovery ofthe medical device provides a user access to a functioning medicaldevice even if the software upgrade is unsuccessful.

FIG. 6 illustrates an exemplary compatibility table 600 according toembodiments of the present disclosure. In certain embodiments, thecompatibility table is stored on a remote computing device, such as, forexample, server 203 (FIG. 2). The remote computing device stores acompatibility table for each unique device, such as, for example, device201 (FIG. 2). As discussed above, the compatibility table 600 for eachdevice is identified by a serial number of the device 201, a partialserial number of the device 201 or other such identifier.

As shown in FIG. 6, the compatibility table 600 includes a history foreach revision of software 610 for the device 201 as well assoftware/firmware revisions for the first microprocessor 620, the secondmicroprocessor 630 and the third microprocessor 640 of the device 201.In certain embodiments, when an upgrade to the device 201 is performed,the details of the upgrade are stored in the compatibility table 600.Thus, as shown in FIG. 6, when the software of the device 201 wasupgraded from Release 10 to Release 14, the software of the firstmicroprocessor 620 of the device 201 was upgraded from Release 10 toRelease 12, the software of the second microprocessor 630 was notupgraded and the software for the third microprocessor 640 was upgradedfrom Release 6 to Release 7.

In certain embodiments, the compatibility table 600 also includesinformation corresponding to persistent data (e.g., user-configurabledata and manufacturing data) associated with each revision of thesoftware of the device 610. Thus, although the user-configurable datamay be mapped as described above with respect to FIG. 5, when thesoftware of the device 201 is upgraded from Release 10 to Release 14,the user-configurable data associated with Release 10 of the softwarefor the device 201 is stored on the remote computing device.

Referring back to FIG. 6, the compatibility table 600 also shows thatthe software 610 of device 201 was subsequently upgraded from Release 14to Release 15. Although the software 610 of the device was upgraded, thesoftware for each of the microprocessors 620, 630, and 640 were notupgraded.

In certain embodiments, the compatibility table 600 also storesinformation corresponding to a hardware version (not shown) of each ofthe microprocessors 620, 630 and 640 of the device 201. As will beexplained below, when a software upgrade to the device 201 and/or one ofthe microprocessors 620, 630, or 640 is requested, the version of thehardware for the microprocessors is checked to determine if the desiredsoftware upgrade may be executed on hardware versions of themicroprocessors 620, 630 and 640. If the microprocessors 620, 630 and640 are not able to support the release required by the desired softwareversion, the software upgrade will not be installed on the device 201.

FIG. 7 is a flow chart illustrating a method 700 for selectivelyupgrading a device based on a compatibility table according toembodiments of the present disclosure. The routine for selectivelyupgrading the device, such as, for example device 201 (FIG. 2) beginswhen a communication link is established between the device 201 and aremote computing device (701). In certain embodiments, the communicationlink between the device 201 and the remote computing device, such as,for example, computing device 202 or server 203, is established throughcommunication links 210 or 220. In one aspect, the communication linkbetween the device 201 and the remote computing device is establishedusing a wireless connection. In another aspect, the communicationbetween the device 201 and the remote computing device is establishedusing a wired connection such as, for example, by connecting the device201 to the remote computing device using a USB cable.

In certain embodiments, when the device 201 is connected to a computingdevice 202, the computing device 202 is configured to execute an upgrademodule to assist in transferring data from the server 203 to the device201. In one aspect, the device 201 is configured to receive the upgradesdirectly from the server 203.

Once communication between the device 201 and the remote computingdevice is established, the remote computing device identifies theconnected device 201 (702). In certain embodiments, the connected device201 is identified using a serial number of the device 201, a partialserial number of the device 201, or other such identifier.

When the device 201 has been identified by the remote computing device,the compatibility table associated with the device 201 is checked todetermine a version of the software currently being executed on thedevice 201 as well as the versions of software for each of themicroprocessors of the device 201 (703). Once the software version ofthe device 201 is identified, available upgrades for the device 201 aredetermined (704). In certain embodiments, the remote computing devicestores all available upgrades for the various devices. When determiningavailable upgrades for an identified device 201, a processor of theremote computing device compares a current version of the softwareand/or firmware of the device 201 from the compatibility table toavailable software and firmware upgrades.

If an upgrade is available, the compatibility table associated with thedevice 201 is checked by the processor of the remote computing device todetermine which components of the device 201 need to be upgraded. Onlythe components of the device 201 that need to be upgraded to support thenew version of the software are upgraded (705). For example, if theidentified device 201 is executing Release 10 of the software 610 (FIG.6) and the available upgrade is software Release 14, when the software610 for the device 201 is upgraded, software for the firstmicroprocessor 620 is upgraded from Release 10 to Release 12, andsoftware for the third microprocessor 640 is upgraded from Release 6 toRelease 7. As shown in the compatibility table 600, Release 14 of thesoftware 610 does not require that the second microprocessor 630 beupgraded. As such, only the required data for the upgrade is downloadedand installed on the device 201. In certain embodiments, the device 201and the microprocessors of the device 201 are upgraded using the method300 described above with respect to FIG. 3. Additionally, theuser-configurable settings of the device 201 may be mapped from Release10 of the software 610 of the device 201 to Release 14 of the software610 of the device 201 according to the method 500 described above withrespect to FIG. 5.

In certain embodiments, prior to upgrading the software of the device201, a processor of the remote computing device determines a hardwareversion of each of the microprocessors of the device 201 and furtherdetermines whether the hardware version of each of the microprocessorscan execute the software release required to run the new version of thesoftware for the device 201. If the hardware version of themicroprocessors cannot execute the required software release version,the software upgrade for the device 201 will not be installed on thedevice 201.

For example, as shown in the compatibility table 600, Release 15 of thesoftware 610 requires that the first microprocessor 620 execute Release12 version of the software, the second microprocessor 630 executeRelease 8 version of the software, and the third microprocessor 640execute Release 7 version of the software. If however, the hardwareversion of the first microprocessor 620 cannot execute Release 12version of the software, the Release 15 version of the software 610 willnot be installed on the device 201.

In certain embodiments, the current version of the bootloader of thedevice 201 may also be stored in a compatibility table associated withthe device 201. As available software upgrades for the device 201 andeach of the microprocessors of the device are determined, availableupgrades for the bootloader of the device 201 may also be determined. Ifupgrades to the bootloader are available, the bootloader is upgradedalong with the software version of the device 201 and/or themicroprocessors of the device 201.

FIG. 8 is a flow chart illustrating a method 800 for reverting to aprevious version of software for a device according to embodiments ofthe present disclosure. In certain embodiments, the method 800 describedwith reference to FIG. 8 may be used to restore functionality to adevice, such as, for example device 201 (FIG. 2) when the device 201 haslost manufacturing settings (e.g., the device 201 is a dead device) orwhen a user upgraded the software on the device 201 and wishes to revertto a software version that was previously installed on the device 201(e.g., the version of the software that was installed on the device 201prior to the upgrade being installed on the device 201).

The routine for reverting to a previous version of software for thedevice 201 begins when a communication link is established between thedevice 201 and a remote computing device (801). In certain embodiments,the communication link between the device 201 and the remote computingdevice, such as, for example, computing device 202 or server 203, isestablished through communication links 210 or 220. In one aspect, thecommunication link between the device 201 and the remote computingdevice is established using a wireless connection. In another aspect,the communication link between the device 201 and the remote computingdevice is established using a wired connection such as, for example, byconnecting the device 201 to the remote computing device using a USBcable.

In certain embodiments, when the device 201 is connected to a computingdevice 202, the computing device 202 is configured to execute an upgrademodule configured to transfer reversion data (e.g., data correspondingto the previously installed software version) from the server 203 to thedevice 201. In one aspect, the device 201 is configured to receive thereversion data directly from the server 203.

Once communication between the device 201 and the remote computingdevice is established, the remote computing device identifies theconnected device 201 (802). In certain embodiments, the connected device201 is identified using a serial number of the device 201, a partialserial number of the device 201, or other such identifier. In situationswhere the device 201 is being recovered from being dead (e.g.,manufacturing data of the device 201 is lost) the user may need tomanually identify the device 201 such as, for example, by manuallyinputting a serial number or partial serial number of the device 201into a user interface provided on the remote computing device. Incertain embodiments, a user may contact customer service of themanufacturer of the device and provide the serial number of the device201 to a customer service representative.

Once the device 201 has been identified, a desired software version forthe identified device 201 is determined (803). In certain embodiments,the determination of the desired software version of the identifieddevice 201 is made by a user manually selecting a previous version ofsoftware for the device 201 from a compatibility table, such as, forexample compatibility table 600 (FIG. 6). In another embodiment, thecustomer service representative may use the serial number of the device201 to access the compatibility table corresponding to the device 201and transmit the desired software version of the device 201 to the user.In another embodiment, a processor of the remote computing deviceidentifies the most recent software version that was stored on thedevice and transmits the latest version of the software and associateddata to the device 201. For example, when the device 201 is beingrecovered from being dead, the desired software version may correspondto the latest software version stored in the compatibility table 600(e.g., Release 15 of the software 610). Thus, Release 15 of the software610, and the corresponding user-configurable settings and/ormanufacturing settings, are transmitted to the device 201. Although thelatest version of the software is specifically mentioned, it iscontemplated that any previous version of software stored in thecompatibility table 600 may be identified and transmitted to the device201 when recovering a dead device or when reverting to a previousversion of software for the device 201.

When the desired software version of the identified device 201 isdetermined, the desired version of the software of the device 201,including the associated manufacturing settings and user-configurablesettings of the device 201, are downloaded and stored on the identifieddevice 201 (804). In certain embodiments, the desired version ofsoftware for the device 201 is downloaded to the identified device 201using the method 300 described above with reference to FIG. 3. If thedesired version of the software for the identified device 201 requiresthat user-configurable settings be mapped from the current version ofthe software being executed on the device 201 to the desired version ofthe software for the device, the user-configurable data is mappedaccording to the method 500 described above with reference to FIG. 5.Once the desired version of the software of the device 201 has beendownloaded to the identified device 201, the desired version of thesoftware of the device 201 is executed by a microprocessor of theidentified device 201 (805).

If the device 201 is recovering from being a dead device, a desiredversion of the software of the identified device 201, including themanufacturing settings and user-configurable settings of the device 201,are loaded on a bootloader of the device 201 (e.g., either directly froma server or through a connection to a computing device). When the device201 boots, the bootloader of the device 201 loads and executes thedesired version of the software for the identified device 201 (805)including the corresponding software for each of the microprocessors ofthe device 201. Once the device 201 has recovered from being dead usingthe bootloader, the desired version of the software, along with themanufacturing settings and user-configurable settings of the device 201associated with the desired version of the software, are stored in amemory of the device 201.

One aspect of the present disclosure includes establishing a connectionbetween a medical device and a remote computing device; receiving anupgrade command at the medical device; storing a current version ofpersistent data and a current version of executable code in a firststorage area of the medical device; transmitting at least the currentversion of the persistent data to the remote computing device, whereinthe remote computing device is configured to convert the current versionof the persistent data from a first format to a second format; receivingthe second format of the current version of the persistent data and anupgraded version of executable code at the medical device; storing thesecond format of the current version of the persistent data and theupgraded version of the executable code in a second storage area of themedical device; and executing the upgraded version of the executablecode with the second format of the current version of the persistentdata.

One embodiment further includes verifying the integrity of the upgradedversion of the executable code and the second format of the currentversion of the persistent data prior to executing the upgraded versionof the executable code.

Moreover, in one embodiment, the integrity of the upgraded version ofthe executable code and the second format of the current version of thepersistent data is verified using a cyclic redundancy check.

In another embodiment, converting the current version of the persistentdata from the first format to the second format includes modifying thelayout of the data associated with the current version of the persistentdata.

Another embodiment further includes copying the upgraded executable codeand the second format of the current version of the persistent data fromthe second storage area to the first storage area.

In another embodiment, the current version of the persistent data is oneor more of user-configurable data or manufacturing data.

Yet another embodiment includes executing the current version ofexecutable code with the current version of the persistent data when anerror associated with the upgraded version of the executable code or thesecond format of the current version of the persistent data is detected.

In another aspect, an apparatus includes one or more processors; and amemory for storing instructions which, when executed by the one or moreprocessors, causes the one or more processors to establish a connectionto a remote computing device, receive an upgrade command, store acurrent version of persistent data and a current version of executablecode in a first storage area of the memory, transmit at least thecurrent version of the persistent data to the remote computing device,wherein the remote computing device is configured to convert the currentversion of the persistent data from a first format to a second format,receive the second format of the current version of the persistent dataand an upgraded version of executable code, store the second format ofthe current version of the persistent data and the upgraded version ofthe executable code in a second storage area of the memory, and executethe upgraded version of the executable code with the second format ofthe current version of the persistent data.

Another aspect of the present disclosure includes establishing aconnection between a first medical device and a remote computing device;storing user-configurable data associated with the first medical deviceon the remote computing device; establishing a connection between asecond medical device and the remote computing device; converting theuser-configurable data associated with the first medical device from afirst format to a second format, wherein the second format of theuser-configurable data corresponds to the second medical device; andtransmitting the second format of the user-configurable data to thesecond medical device, wherein the second format of theuser-configurable data is configured to alter at least one setting ofthe second medical device.

In one embodiment, converting the user-configurable data associated withthe first medical device from a first format to a second format includeschanging the layout of the user-configurable data.

In another embodiment, changing the layout of the user-configurable dataincludes altering a number of bits of each data element associated withthe user-configurable data.

Another embodiment includes verifying the integrity of the second formatof the user-configurable data prior to altering at least one setting ofthe second medical device based on the second format of theuser-configurable data.

Moreover, in one embodiment, the integrity of the second format of theuser-configurable data is verified using a cyclic redundancy check.

In one aspect, a system includes a remote computing device; a firstmedical device in signal communication with the remote computing device;and a second medical device in signal communication with the remotecomputing device; wherein the remote computing device is configured tostore user-configurable data associated with the first medical device;convert the user-configurable data associated with the first medicaldevice from a first format to a second format, wherein the second formatof the user-configurable data corresponds to the second medical device;and transmit the second format of the user-configurable data to thesecond medical device, wherein the second format of theuser-configurable data is configured to alter at least one setting ofthe second medical device.

Another aspect of the present disclosure includes establishing aconnection between a medical device and a remote computing device;identifying the medical device; comparing a current version of softwareof the medical device with one or more available versions of softwarefor the medical device using a compatibility table, wherein thecompatibility table is associated with the identified medical device;and transmitting an available version of the software for the medicaldevice to the medical device.

One embodiment includes selectively transmitting a plurality of theavailable versions of software to the medical device based on thecompatibility table.

In another embodiment, one or more of the available one or more versionsof software for the medical device includes firmware.

In yet another embodiment, the available one or more versions ofsoftware for the medical device includes software for one or moreprocessors of the medical device.

In another embodiment, the available one or more versions of softwarefor the medical device includes firmware for one or more processors ofthe medical device.

In yet still another embodiment, the available one or more versions ofsoftware for the medical device are based, at least in part, on ahardware version of at least one component of the medical device.

Moreover, in one embodiment, the hardware version of the at least onecomponent of the medical device is stored in the compatibility table.

In another embodiment, the medical device is identified by a serialnumber of the medical device.

In another aspect of the present disclosure, an apparatus includes oneor more processors; and a memory for storing instructions which whenexecuted by the one or more processors, causes the one or moreprocessors to establish a connection to a medical device, identify themedical device, compare a current version of software of the medicaldevice with one or more available versions of software for the medicaldevice using a compatibility table, wherein the compatibility table isassociated with the identified medical device, and transmit an availableversion of the software for the medical device to the medical device.

Another aspect includes establishing a connection between a medicaldevice and a remote computing device; identifying the medical device;receiving a request for data corresponding to at least one of a versionof persistent data for the medical device or a version of executablecode for the medical device; identifying the requested data based atleast in part on a compatibility table; and transmitting the identifieddata corresponding to the at least one of the version of persistent datafor the medical device or the version of executable code for the medicaldevice.

In one embodiment, the medical device is identified by a serial numberof the medical device.

In another embodiment, the compatibility table is identified based onthe serial number of the medical device.

In yet another embodiment, the version of the persistent datacorresponds to at least one of user-selectable data or manufacturingdata.

In still another embodiment, the version of the persistent data isconfigured to replace persistent data stored on the medical device.

In another embodiment, the version of the executable code for themedical device is configured to replace executable code stored on themedical device.

In another aspect of the present disclosure, an apparatus includes oneor more processors; and a memory for storing instructions which, whenexecuted by the one or more processors, causes the one or moreprocessors to establish a connection between a medical device and aremote computing device, identify the medical device, receive a requestfor data corresponding to at least one of a version of persistent datafor the medical device or a version of executable code for the medicaldevice, identify the requested data based at least in part on acompatibility table, and transmit the identified data corresponding tothe at least one of the version of persistent data for the medicaldevice or the version of executable code for the medical device.

Various other modifications and alterations in the structure and methodof operation of this disclosure will be apparent to those skilled in theart without departing from the scope and spirit of the embodiments ofthe present disclosure. Although the present disclosure has beendescribed in connection with particular embodiments, it should beunderstood that the present disclosure as claimed should not be undulylimited to such particular embodiments. It is intended that thefollowing claims define the scope of the present disclosure and thatstructures and methods within the scope of these claims and theirequivalents be covered thereby.

What is claimed is:
 1. A method, comprising: receiving an upgradecommand at a medical device; storing a current version of persistentdata and a current version of executable code in a first storage area ofthe medical device; transmitting the current version of the persistentdata to a remote computing device, wherein the remote computing deviceis configured to convert the current version of the persistent data froma first format to a second format; receiving the second format of thecurrent version of the persistent data and an upgraded version ofexecutable code at the medical device; and executing the upgradedversion of the executable code with the second format of the currentversion of the persistent data.
 2. The method of claim 1, furtherincluding detecting a failure of a critical component of the upgradedversion of the executable code, and disabling the functionality of themedical device related to the critical component of the upgraded versionof the executable code when the failure is detected.
 3. The method ofclaim 1, further comprising verifying the integrity of the upgradedversion of the executable code and the second format of the currentversion of the persistent data prior to executing the upgraded versionof the executable code.
 4. The method of claim 3, wherein the integrityof the upgraded version of the executable code and the second format ofthe current version of the persistent data is verified using a cyclicredundancy check.
 5. The method of claim 1, wherein converting thecurrent version of the persistent data from the first format to thesecond format includes modifying the layout of the data associated withthe current version of the persistent data.
 6. The method of claim 1,further comprising copying the upgraded version of the executable codeand the second format of the current version of the persistent data fromthe second storage area to the first storage area.
 7. The method ofclaim 1, wherein the current version of the persistent data is one ormore of user-configurable data or manufacturing data.
 8. The method ofclaim 1, further comprising executing the current version of executablecode with the current version of the persistent data when an errorassociated with a non-critical component of the upgraded version of theexecutable code or the second format of the current version of thepersistent data is detected.
 9. The method of claim 1, furthercomprising storing the second format of the current version of thepersistent data and the upgraded version of the executable code in asecond storage area of the medical device.
 10. The method of claim 1,wherein the medical device includes an analyte monitoring device.
 11. Anapparatus, comprising: one or more processors; and a memory for storinginstructions which, when executed by the one or more processors, causesthe one or more processors to receive an upgrade command, store acurrent version of persistent data and a current version of executablecode in a first storage area, transmit the current version of thepersistent data to a remote computing device, wherein the remotecomputing device is configured to convert the current version of thepersistent data from a first format to a second format, receive thesecond format of the current version of the persistent data and anupgraded version of executable code at the medical device, and executethe upgraded version of the executable code with the second format ofthe current version of the persistent data.
 12. The apparatus of claim11, wherein the memory for storing instructions which, when executed bythe one or more processors, causes the one or more processors to detecta failure of a critical component of the upgraded version of theexecutable code, and disable the functionality of the medical devicerelated to the critical component of the upgraded version of theexecutable code when the failure is detected.
 13. The apparatus of claim11, wherein the memory for storing instructions which, when executed bythe one or more processors, causes the one or more processors to verifythe integrity of the upgraded version of the executable code and thesecond format of the current version of the persistent data prior toexecuting the upgraded version of the executable code.
 14. The apparatusof claim 13, wherein the integrity of the upgraded version of theexecutable code and the second format of the current version of thepersistent data is verified using a cyclic redundancy check.
 15. Theapparatus of claim 11, wherein converting the current version of thepersistent data from the first format to the second format includesmodifying the layout of the data associated with the current version ofthe persistent data.
 16. The apparatus of claim 11, wherein the memoryfor storing instructions which, when executed by the one or moreprocessors, causes the one or more processors to copy the upgradedversion of the executable code and the second format of the currentversion of the persistent data from the second storage area to the firststorage area.
 17. The apparatus of claim 11, wherein the current versionof the persistent data is one or more of user-configurable data ormanufacturing data.
 18. The apparatus of claim 11, wherein the memoryfor storing instructions which, when executed by the one or moreprocessors, causes the one or more processors to execute the currentversion of executable code with the current version of the persistentdata when an error associated with a non-critical component of theupgraded version of the executable code or the second format of thecurrent version of the persistent data is detected.
 19. The apparatus ofclaim 11, wherein the memory for storing instructions which, whenexecuted by the one or more processors, causes the one or moreprocessors to store the second format of the current version of thepersistent data and the upgraded version of the executable code in asecond storage area of the medical device.